<h3>Edit User Akses</h3><br />
<table width="95%">
    <tr>
        <td></td>
        <td width="100px">Access</td>
        <td width="100px">Add</td>
        <td width="100px">Edit</td>
        <td width="100px"> Delete</td>
        <td width="100px"> Aprovement</td>
    </tr>
    <?php echo form_open('user_access/update') ?>

    <?php foreach ($rows->result() as $user): ?>
        <tr><td width="125px"><b>Booking Management</b></td>
            <td><?php echo get_check($user->booking_m, 'booking_m'); ?></td>
            <td></td>
            <td></td>
            <td><?php echo get_check($user->booking_m_delete, 'booking_m_delete'); ?></td>
            <td><?php echo get_check($user->booking_m_confirm, 'booking_m_confirm'); ?></td>
            
        </tr>
        <tr><td width="125px"><b>Data Bank</b></td>
            <td><?php echo get_check($user->bank, 'bank'); ?></td>
            <td><?php echo get_check($user->bank_add, 'bank_add'); ?></td>
            <td><?php echo get_check($user->bank_edit, 'bank_edit'); ?></td>
            <td><?php echo get_check($user->bank_delete, 'bank_delete'); ?></td>
        </tr>
        <tr><td width="125px"><b>List Konsumen</b></td>
            <td><?php echo get_check($user->list_pelanggan, 'list_pelanggan'); ?></td>
            <td></td>
            <td></td>
            <td><?php echo get_check($user->list_delete, 'list_delete'); ?></td>
            <td><?php echo get_check($user->list_edit, 'list_edit'); ?></td>
        </tr>
        <tr><td width="125px"><b>Deposit</b></td>
            <td><?php echo get_check($user->deposit, 'deposit'); ?></td>
            <td></td>
            <td></td>
            <td><?php echo get_check($user->deposit_delete, 'deposit_delete'); ?></td>
            <td><?php echo get_check($user->deposit_edit, 'deposit_edit'); ?></td>
        </tr>
        <tr><td width="125px"><b>Document / File</b></td>
            <td><?php echo get_check($user->document, 'document'); ?></td>
            <td><?php echo get_check($user->document_add, 'document_add'); ?></td>
            <td><?php echo get_check($user->document_edit, 'document_edit'); ?></td>
            <td><?php echo get_check($user->document_delete, 'document_delete'); ?></td>
        </tr>
        <tr><td width="125px"><b>Berita</b></td>
            <td><?php echo get_check($user->news, 'news'); ?></td>
            <td><?php echo get_check($user->news_add, 'news_add'); ?></td>
            <td><?php echo get_check($user->news_edit, 'news_edit'); ?></td>
            <td><?php echo get_check($user->news_delete, 'news_delete'); ?></td>
        </tr>
        <tr><td width="125px"><b>Messaging</b></td>
            <td><?php echo get_check($user->ym, 'ym'); ?></td>
            <td></td>
            <td><?php echo get_check($user->ym_edit, 'ym_edit'); ?></td>
            <td><?php echo get_check($user->ym_delete, 'ym_delete'); ?></td>
        </tr>
        <tr><td width="125px"><b>Manajemen User</b></td>
            <td><?php echo get_check($user->user_access, 'user_access'); ?></td>
            <td><?php echo get_check($user->user_access_add, 'user_access_add'); ?></td>
            <td><?php echo get_check($user->user_access_edit, 'user_access_edit'); ?></td>
            <td><?php echo get_check($user->user_access_delete, 'user_access_delete'); ?></td>
        </tr>
        <tr><td width="125px"><b>Manajement Kontent</b></td>
            <td><?php echo get_check($user->manajemen_konten, 'manajemen_konten'); ?></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr><td width="125px"><b>Notifikasi Email</b></td>
            <td><?php echo get_check($user->notifikasi_email, 'notifikasi_email'); ?></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr><td width="125px"><b>Jadwal Penerbangan</b></td>
            <td><?php echo get_check($user->jadwal_p, 'jadwal_p'); ?></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
    <?php endforeach ?>
    <?php echo form_hidden('id_access', $id_access) ?>

    <tr><td></td>
        <td>
            <?php echo form_submit('submit', 'Update', "class='button'") ?>
        </td>
    </tr>

    <?php form_close() ?>
</table>
